
import { _decorator, Component, Node, RigidBodyComponent, CapsuleColliderComponent } from 'cc';
const { ccclass, property } = _decorator;
 
@ccclass('Player')
export class Player extends Component {

    @property(RigidBodyComponent)
    public rigidComPlayer: RigidBodyComponent = null!;
  
    @property(CapsuleColliderComponent)
    public colliderComPlayer: CapsuleColliderComponent = null!;

    start () {
        // [3]
    }

    update (deltaTime: number) {
        // [4]
    }

    //判断是否死亡


}     

